package modelLayer;


/**
 * Write a description of class Staff here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Staff
{
    // instance variables - replace the example below with your own
    private String name;
    private String phoneNo;
    private int cprNo;
    private String username;
    private String password;
    private boolean isManager;

    /**
     * Constructor for objects of class Staff
     */
    public Staff(String name, String phoneNo, int cprNo, String username, String password, boolean isManager)
    {
        // initialise instance variables
        this.name = name;
        this.phoneNo = phoneNo;
        this.cprNo = cprNo;
        this.username = username;
        this.password = password;
        this.isManager = isManager;
    }

    public void setName(String newName) {this.name = newName;}
    public void setPhoneNo(String newPhoneNo) {this.phoneNo = newPhoneNo;}
    public void setCprNo (int newCprNo) {this.cprNo = newCprNo;}
    public void setUsername (String newUsername) {this.username = newUsername;}
    public void setPassword (String newPassword) {this.password = newPassword;}
    public void setIsManager (boolean newIsManager) {this.isManager = newIsManager;}
    
    public String getName () {return this.name;}
    public String getPhoneNo () {return this.phoneNo;} 
    public int getCprNo () {return this.cprNo;}
    public String getUsername () {return this.username;}
    public String getPassword () {return this.password;}
    public boolean getIsManager () {return this.isManager;}
    
}

    
